package azcat.planner.tools;

import java.util.ArrayList;

import azcat.planner.schedule.Schedule;

public class Tool {
	private String name;
	private int minWorkers;
	public int getMinWorkers() {
		return minWorkers;
	}
	public void setMinWorkers(int minWorkers) {
		this.minWorkers = minWorkers;
	}
	public int getMaxWorkers() {
		return maxWorkers;
	}
	public void setMaxWorkers(int maxWorkers) {
		this.maxWorkers = maxWorkers;
	}
	private int maxWorkers;
	private int usageOrder;
	private int productivityPerHour;
	private ArrayList<Schedule> schedule = new ArrayList<Schedule>();
	
	
	public void addSchedule(Schedule s){
		this.schedule.add(s);
	}
	public void setSchedule(ArrayList<Schedule> schedule){
		this.schedule = schedule;				
	}
	public ArrayList<Schedule> getSchedule(){
		return this.schedule;
	}
	public void clearSchedule(){
		this.schedule.clear();
	}	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getProductivityPerHour() {
		return productivityPerHour;
	}
	public void setProductivityPerHour(int productivityPerHour) {
		this.productivityPerHour = productivityPerHour;
	}	 

}
